class UrlMappings {
    static mappings = {
      "/$controller/$action?/$id?"{
        constraints {
            // apply constraints here
	}
      }

       "/"{
            controller = "MFile"
            action = "list"
       }

      "/index"(view:"/index")
      "500"(view:'/error')
    }
}
